<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>行内元素</title>
    <style>
        span {
            background: pink;
        }

        a {
            color: blue;
            text-decoration: none;
        }
    </style>
</head>
<body>
    <span>我是一个典型和行内元素</span>
    <a href="#">我是一个能和行内元素在同一行显示</a>
</body>
</html>